package com.ziytek.web.citizen.service.itf;

import com.ziytek.web.citizen.model.req.IpSetReq;
import com.ziytek.web.citizen.pojo.basic.BasicCabinetIp;

/**
 * @author fenghx
 * @version 1.0
 * @className CabinetIpService
 * Description:
 * @date 2024/3/13 10:54
 */
public interface CabinetIpService {
    /**
     * Description: 机柜网络IP地址信息保存
     *
     * @param ipSet iP信息
     * @return int
     */
    int saveAndUpdate(IpSetReq ipSet);

    /**
     * Description: 根据机柜编号查询机柜网络IP地址信息
     *
     * @param cabinetNo cabinetNo
     * @return cabinetIp
     */
    BasicCabinetIp queryCabinetIp(String cabinetNo);

}
